package com.go.where.family.component;

import java.util.List;

import com.go.where.family.pojo.TopicInfo;
import com.go.where.family.scoket.Head;

/**
 * 课题信息组件
 * 
 * @author java
 * 
 */
public interface TopicComponent {

	/**
	 * 分页查询列表
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public List<TopicInfo> queryList(String body, Head head);

	/**
	 * 查询详情
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public TopicInfo queryTopicDetail(String body, Head head);

	/**
	 * 更新课题点赞量
	 * 
	 * @param body
	 * @param head
	 * @return
	 */
	public boolean updateLike(String body, Head head);

}
